package cn.edu.scau.cmi.chenjiale.adapter;

/**
 * 
 * 对象适配器
 * 
 * @author chen
 *
 */
public class AdapterOfObject implements Transformer {
	
	private static final String DESCRIPTION = "对象适配器:将220v电压转换成110v";
	
	private Television television;
	
	public AdapterOfObject(Television television) {
		this.television = television;
	}
	
	@Override
	public String useLowVolt() {
		return this.television.useLowVolt();
	}

	@Override
	public String convertVolt() {
		return DESCRIPTION;
	}

}
